import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'zzmm'
})
export class ZzmmPipe implements PipeTransform {

  transform(value: unknown, ...args: unknown[]): unknown {
    if (value == 10){
      return "群众"
    }else if (value == 20){
      return "团员"
    }else if (value == 30){
      return "党员"
    }else {
      return
    }
  }

}
